package com.app;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * Hello world!
 *
 */

@SpringBootApplication()
@MapperScan(basePackages = "com.app.dao")
//@ComponentScan(basePackages = "com.app")
public class App
{
    public static void main( String[] args )
    {
        long time=System.currentTimeMillis();
        SpringApplication.run(App.class,args);
        System.out.println("===应用启动耗时："+(System.currentTimeMillis()-time)+"===");
        System.out.println("api：http://localhost:8080");
        System.out.println("doc：http://localhost:8080/doc.html");
    }
}
